package cn.com.headfree.file.service;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.springframework.web.multipart.MultipartFile;

import cn.com.headfree.base.controller.ResultData;
import cn.com.headfree.entity.TCommonFile;
import cn.com.headfree.vo.file.DealFileVo;

public interface IFileService {

	void addFile(List<DealFileVo> files);

	void deleteFileByBusinessId(String orignalId);

	ResultData getFilesByBusinessId(String businessId);

//	ResultData upload(MultipartFile file, TCommonFile commonFile);

	ResultData upload(List<MultipartFile> files, TCommonFile commonFile);

//	void download(String fileId);

	void getSingleFile(HttpServletResponse response, String fileId) throws Exception;

	ResultData findFileList(String sysCode, String businessId, String businessNode);

	ResultData deleteFile(String fileId);

}
